package library.and.xps.com.step.m.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by XPS on 2017/5/11.
 */

public class CheckJoinTeamPassRes extends BaseResponce implements Serializable {
    @Override
    public String toString() {
        return "JoinTeamRes{" +
                "list=" + list.toString() +
                '}';
    }

    /**
     * error : null
     * obj : null
     * list : [{"departmentid":68,"dname":"默认部门","teamid":0,"parentid":0,"creater":0}]
     */

    private List<ListBean> list;

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean implements Serializable {
        /**
         * departmentid : 68
         * dname : 默认部门
         * teamid : 0
         * parentid : 0
         * creater : 0
         */

        private int departmentid;
        private String dname;
        private int teamid;
        private int parentid;
        private int creater;

        public int getDepartmentid() {
            return departmentid;
        }

        public void setDepartmentid(int departmentid) {
            this.departmentid = departmentid;
        }

        public String getDName() {
            return dname;
        }

        public void setDName(String dName) {
            this.dname = dName;
        }

        public int getTeamid() {
            return teamid;
        }

        public void setTeamid(int teamid) {
            this.teamid = teamid;
        }

        public int getParentid() {
            return parentid;
        }

        public void setParentid(int parentid) {
            this.parentid = parentid;
        }

        public int getCreater() {
            return creater;
        }

        public void setCreater(int creater) {
            this.creater = creater;
        }

        @Override
        public String toString() {
            return "ListBean{" +
                    "departmentid=" + departmentid +
                    ", dname='" + dname + '\'' +
                    ", teamid=" + teamid +
                    ", parentid=" + parentid +
                    ", creater=" + creater +
                    '}';
        }
    }
}
